package com.wzx.data.entity;
import com.wzx.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 答复表 实体类
 * @author wzx
 * @since 2023/03/20
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_answer")
@TableName("a_answer")
@ApiModel(value = "答复表")
public class Answer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 问题ID
     */
    private String questionId;
    /**
     * 问题
     */
    private String question;
    /**
     * 答案
     */
    private String answer;
    /**
     * 回答者Id
     */
    private String answerId;
    /**
     * 回答者昵称
     */
    private String answerName;
}